/**
 * Created by bln on 16-8-16.
 */
/**
 * 存储暴露所有测试文件所需的变量值
 */
// local module
var path = require('path');
var fs = require('fs');

// library module
var should = require("should");
var request = require("superagent");

// my module
var db = require("../models/index");
var utilx = require("../lib/util");
var cache = require("../instances/cache");

// my config
var pkg = require('../package.json');
var host = "http://127.0.0.1:" + pkg.port;

// my var
var User = db.models.User;
var Story = db.models.Story;
var Comment = db.models.Comment;
var Msg = db.models.Msg;

module.exports = {
    // local module
    path : path,
    fs : fs,

    // library module
    should : should,
    request : request,

    // my module
    db : db,
    utilx : utilx,
    cache : cache,

    // my config
    pkg : pkg,
    host : host,

    // my var
    User : User,
    Story : Story,
    Comment : Comment,
    Msg : Msg,
};